package com.taylover.test.exception;

import com.sun.xml.internal.ws.protocol.soap.MessageCreationException;

/**
 * @author xyzZero3
 * @date 2025/4/22 21:12
 */
public class IndexIsNagetiveException extends Exception {

    private String message;

    public IndexIsNagetiveException() {
        super("下标不能为负数");
        this.message = "下标不能为负数";
    }

    public IndexIsNagetiveException(String message) {
        super(message);
        this.message = message;
    }
}
